package com.junzhiit.nengji.shop.dao.impl;

import org.springframework.stereotype.Repository;

import com.bainaeco.framework.base.dao.AbstractBaseDAO;
import com.junzhiit.nengji.shop.dao.SystemConfigDAO;
import com.junzhiit.nengji.shop.model.SystemConfig;

@Repository
public class SystemConfigDAOImpl extends AbstractBaseDAO<SystemConfig> implements SystemConfigDAO {
	
	@Override
	public SystemConfig find(){
		StringBuffer sql=new StringBuffer();
		sql.append("select * from system_config");
		
		return super.query(sql.toString(), SystemConfig.class);
	}
}
